package com.chiaching.ums.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chiaching.common.utils.PageUtils;
import com.chiaching.framwork.domian.bean.SuperMallUserDetail;
import com.chiaching.ums.entity.UmsMemberEntity;

import java.util.Map;

/**
 * 会员
 *
 * @author chiaching
 * @email 1738870995@qq.com
 * @date 2021-07-27 11:06:35
 */
public interface UmsMemberService extends IService<UmsMemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 提供给 framework
     * @param userId
     * @return
     */
    SuperMallUserDetail queryByIdToFramwork(Long userId);


    UmsMemberEntity queryById(Long userId);

    SuperMallUserDetail queryByUsername(String username);
}

